<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>Updater.html</title>
		<script type="text/javascript" src="js/prototype1.6.js"></script>
		<script type="text/javascript">
			function load(url){
				new Ajax.Updater(
					"user",//指定div区域的id
					url,////指定请求URL
					{
						method:"post"
					}
				);
			}
		</script>
	</head>
	<body>
		<h1>使用prototype更新指定div区域</h1>
		<input type="button" value="loadTable.html" onmouseover="load('loadTable.html')"/>
		<input type="button" value="user_json.html" onmousemove="load('user_json.html')"/>
		<div id="user"></div>
	</body>
</html>
